<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>UCARPP: includes/ALGConfiguration.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">UCARPP
   &#160;<span id="projectnumber">1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('ALGConfiguration_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">includes/ALGConfiguration.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdbool.h&gt;</code><br/>
<code>#include &lt;stdio.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="tabooExpire_8h_source.html">tabooExpire.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for ALGConfiguration.h:</div>
<div class="dyncontent">
<div class="center"><img src="ALGConfiguration_8h__incl.png" border="0" usemap="#includes_2ALGConfiguration_8h" alt=""/></div>
<map name="includes_2ALGConfiguration_8h" id="includes_2ALGConfiguration_8h">
<area shape="rect" id="node7" href="tabooExpire_8h.html" title="tabooExpire.h" alt="" coords="64,83,165,112"/><area shape="rect" id="node9" href="edgeID_8h.html" title="edgeID.h" alt="" coords="103,160,177,189"/></map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="ALGConfiguration_8h__dep__incl.png" border="0" usemap="#includes_2ALGConfiguration_8hdep" alt=""/></div>
<map name="includes_2ALGConfiguration_8hdep" id="includes_2ALGConfiguration_8hdep">
<area shape="rect" id="node3" href="los_8h.html" title="includes/los.h" alt="" coords="179,83,280,112"/><area shape="rect" id="node7" href="stm_8h.html" title="includes/stm.h" alt="" coords="45,160,152,189"/><area shape="rect" id="node17" href="configparser_8h.html" title="includes/configparser.h" alt="" coords="304,83,459,112"/><area shape="rect" id="node5" href="add_8h.html" title="includes/add.h" alt="" coords="176,160,283,189"/><area shape="rect" id="node13" href="remove_8h.html" title="includes/remove.h" alt="" coords="307,160,435,189"/><area shape="rect" id="node15" href="swap_8h.html" title="includes/swap.h" alt="" coords="459,160,573,189"/><area shape="rect" id="node9" href="LTMConfiguration_8h.html" title="includes/LTMConfiguration.h" alt="" coords="5,237,192,267"/><area shape="rect" id="node11" href="ltm_8h.html" title="includes/ltm.h" alt="" coords="48,315,149,344"/></map>
</div>
</div>
<p><a href="ALGConfiguration_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structALGConfiguration.html">ALGConfiguration</a></td></tr>
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structALGConfiguration.html">ALGConfiguration</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ALGConfiguration_8h.html#a0795eb5e5c5bb011682bae8a3745b188">ALGConfiguration</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structALGConfiguration.html">ALGConfiguration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ALGConfiguration_8h.html#aeba119601bed3ad672c244e7c8522174">PalgConfiguration</a></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="ALGConfiguration_8h.html#aeba119601bed3ad672c244e7c8522174">PalgConfiguration</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ALGConfiguration_8h.html#a52e653d7b2ad1db6b87da86f05f4935a">initAlgConfiguration</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ALGConfiguration_8h.html#a780e7bc2a98e99217851f94ea78da220">freeAlgConfiguration</a> (<a class="el" href="ALGConfiguration_8h.html#aeba119601bed3ad672c244e7c8522174">PalgConfiguration</a> obj)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ALGConfiguration_8h.html#a4f53cb5c188c316c4216ea7d93ec4e9a">printAlgConfiguration</a> (FILE *f, <a class="el" href="ALGConfiguration_8h.html#aeba119601bed3ad672c244e7c8522174">PalgConfiguration</a> obj)</td></tr>
</table>
<hr/><h2>Typedef Documentation</h2>
<a class="anchor" id="a0795eb5e5c5bb011682bae8a3745b188"></a><!-- doxytag: member="ALGConfiguration.h::ALGConfiguration" ref="a0795eb5e5c5bb011682bae8a3745b188" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structALGConfiguration.html">ALGConfiguration</a>  <a class="el" href="structALGConfiguration.html">ALGConfiguration</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>indica una struttura contenente tutti i parametri di configurazione dell'algoritmo ALG. Tale struttura puo' essere passata ad un configparser che provvede a riempirla con i valori contenuti in un file </p>

</div>
</div>
<a class="anchor" id="aeba119601bed3ad672c244e7c8522174"></a><!-- doxytag: member="ALGConfiguration.h::PalgConfiguration" ref="aeba119601bed3ad672c244e7c8522174" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="structALGConfiguration.html">ALGConfiguration</a>* <a class="el" href="ALGConfiguration_8h.html#aeba119601bed3ad672c244e7c8522174">PalgConfiguration</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>puntatore ad una struttura <a class="el" href="structALGConfiguration.html">ALGConfiguration</a> localizzata in memoria </p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a780e7bc2a98e99217851f94ea78da220"></a><!-- doxytag: member="ALGConfiguration.h::freeAlgConfiguration" ref="a780e7bc2a98e99217851f94ea78da220" args="(PalgConfiguration obj)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="ALGConfiguration_8h.html#a780e7bc2a98e99217851f94ea78da220">freeAlgConfiguration</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ALGConfiguration_8h.html#aeba119601bed3ad672c244e7c8522174">PalgConfiguration</a>&#160;</td>
          <td class="paramname"><em>obj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>dealloca una struttura ALGCOnfiguration dalla memoria.</p>
<dl class="pre"><dt><b>Precondition:</b></dt><dd><ul>
<li>obj non NULL </li>
</ul>
</dd></dl>
<dl class="post"><dt><b>Postcondition:</b></dt><dd><ul>
<li>l'area di memoria puntata da obj e' libera </li>
<li>le aree di memoria puntate dai char* all'interno di questa stringa vengono liberate</li>
</ul>
</dd></dl>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td>la struttura da deallocare </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a52e653d7b2ad1db6b87da86f05f4935a"></a><!-- doxytag: member="ALGConfiguration.h::initAlgConfiguration" ref="a52e653d7b2ad1db6b87da86f05f4935a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ALGConfiguration_8h.html#aeba119601bed3ad672c244e7c8522174">PalgConfiguration</a> <a class="el" href="ALGConfiguration_8h.html#a52e653d7b2ad1db6b87da86f05f4935a">initAlgConfiguration</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>inizializza una nuova struttura di configurazione per ALG. Tutti i campi vengono impostati a zero oppure a NULL (in caso di puntatori)</p>
<dl class="post"><dt><b>Postcondition:</b></dt><dd><ul>
<li>una nuova struttura da deallocare <b>manualmente</b> viene allocata in memoria</li>
</ul>
</dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>un puntatore alla nuova istanza <a class="el" href="structALGConfiguration.html">ALGConfiguration</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a4f53cb5c188c316c4216ea7d93ec4e9a"></a><!-- doxytag: member="ALGConfiguration.h::printAlgConfiguration" ref="a4f53cb5c188c316c4216ea7d93ec4e9a" args="(FILE *f, PalgConfiguration obj)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="ALGConfiguration_8h.html#a4f53cb5c188c316c4216ea7d93ec4e9a">printAlgConfiguration</a> </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>f</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ALGConfiguration_8h.html#aeba119601bed3ad672c244e7c8522174">PalgConfiguration</a>&#160;</td>
          <td class="paramname"><em>obj</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>stampa su file la configurazione di ALG</p>
<dl class="pre"><dt><b>Precondition:</b></dt><dd><ul>
<li>f aperto in scrittura </li>
<li>obj non NULL</li>
</ul>
</dd></dl>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">f</td><td>il file su cui stampare </td></tr>
    <tr><td class="paramname">obj</td><td>l'oggetto da stampare </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="ALGConfiguration_8h.html">ALGConfiguration.h</a>      </li>

    <li class="footer">Generated on Thu Jun 27 2013 11:34:36 for UCARPP by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
